package com.dq.repository.user.centre;

import com.dq.domain.org.Org;
import com.dq.domain.sys.section.SysSection;
import com.dq.domain.sys.user.user.base.SysUser;
import com.dq.domain.sys.user.user.centre.UserAnonymous;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author cf
 */
@Repository
public interface UserAnonymousRepository extends JpaRepository<UserAnonymous, Long> {
    List<UserAnonymous> findByDeletedFalseAndCreateUser(SysUser sysUser);
    List<UserAnonymous> findByDeletedFalseAndSection(SysSection section);
}
